{include file=member.header.html} 
<script type="text/javascript">
$(function(){
	$('#add_time_from').date();
	$('#add_time_to').date();
});
</script>
<div class="deposit margin10">
	<div class="drawlist">
		<div class="tab-ttl">
			<ul class="withdraw-tab clearfix">
				<li><a href="{url app=deposit&act=drawlist}"><span>{$lang.withdraw_record}</span></a></li>
				<li class="current"><a href="{url app=deposit&act=rechargelist}"><span>{$lang.recharge_record}</span></a></li>
			</ul>
		</div>
		<div class="title clearfix">
			<form method="get">
				<input type="hidden" name="app" value="deposit" />
				<input type="hidden" name="act" value="rechargelist" />
				<input class="text mt10" type="text" name="add_time_from" id="add_time_from" value="{$smarty.get.add_time_from}" />
				<span class="split pt10">-</span>
				<input class="text mt10" id="add_time_to" type="text" name="add_time_to" value="{$smarty.get.add_time_to}" />
				<select name="status" class="mt10">
					<option value="">{$lang.select_pls}</option>
					<option value="success" {if $smarty.get.status eq 'success'} selected="selected" {/if}>{$lang.success}</option>
					<option value="verifing" {if $smarty.get.status eq 'verifing'} selected="selected" {/if}>{$lang.verifing}</option>
				</select>
				<input type="submit" class="btn-alipay mt10" style="width:120px;" value="{$lang.search}" />
			</form>
			<div> 已成功充值 <strong class="f60">{$recharges.total_amount}</strong> 元 </div>
		</div>
		<div class="content mt10"> 
			<!--{foreach from=$recharges.list item=recharge}-->
			<div class="table-list mb10">
				<ul>
					<li class="first clearfix"> <span class="th float-left"><em>流水号</em></span> <span class="td float-left"><em>{$recharge.tradesn}</em></span> </li>
					<li class="clearfix"> <span class="th float-left"><em>创建时间</em></span> <span class="td float-left"><em>{$recharge.add_time|date:Y.m.d H.i.s}</em></span> </li>
					<li class="clearfix"> <span class="th float-left"><em>名称</em></span> <span class="td float-left"><em>{$lang.recharge}</em></span> </li>
					<li class="clearfix"> <span class="th float-left"><em>收/支</em></span> <span class="td float-left"><em class="green">{$lang.income}</em></span> </li>
					<li class="clearfix"> <span class="th float-left"><em>金额(元)</em></span> <span class="td float-left"><em>{$recharge.amount}</em></span> </li>
					<li class="clearfix"> <span class="th float-left"><em>资金渠道</em></span> <span class="td float-left"><em> {$recharge.extra.payway}
						{if !$recharge.is_online} <span class="gray">{$recharge.extra.num}</span> {/if}</em></span> </li>
					<li class="clearfix"> <span class="th float-left"><em>状态</em></span> <span class="td float-left"><em>{if $recharge.status eq 'SUCCESS'}{$lang.success}
						{elseif $recharge.status eq 'PENDING'} <span class="f60">{$lang.pending}</span> {else}<span class="f60">{$lang.verifing}</span>{/if}</em></span> </li>
					<li class="clearfix"> <span class="th float-left"><em>操作</em></span> <span class="td float-left"><em> {if $recharge.status eq 'PENDING'}<a  onclick="dropRechargeitem('{$recharge.tradesn}');" href="javascript:;">{$lang.drop}</a>{/if}</em></span> </li>
				</ul>
			</div>
			<!--{/foreach}--> 
			<!--{if !$recharges.list}-->
			<div class="notice-word mt10">
				<p>没有任何充值记录。 <a href="{url app=deposit&act=recharge}">马上充值</a></p>
			</div>
			<!--{/if}--> 
		</div>
	</div>
	<div id="datePlugin"></div>
</div>
{include file=page.bottom.html}
{include file=footer.html} 